using System;
using System.Collections.Generic;
using System.Text;
using XProject.Entity;
namespace XProject.Entity
{
    public class ScheduleItem
    {
        int id;
        Account account;
        DateTime startTime;
        DateTime endTime;
        string content;     
        bool finished;
        string note;
        public ScheduleItem()
        {
            id = -1;
            account = new Account();
            startTime = new DateTime();
            endTime = new DateTime();
            content = ""; 
            finished = false;
            note = "";
        }
        public int ScheduleID
        {
            get { return id; }
            set { id = value; }
        }
        public Account Account
        {
            get { return account; }
            set { account = value; }
        }
        public DateTime StartTime
        {
            get { return startTime; }
            set { startTime = value; }
        }
        public DateTime EndTime
        {
            get { return endTime; }
            set { endTime = value; }
        }
        public string Content
        {
            get { return content; }
            set { content = value; }
        }

        public bool Finished
        {
            get { return finished; }
            set { finished = value; }
        }
        public string Note
        {
            get { return note; }
            set { note = value; }
        }
    }
}
